package com.prototype;

public abstract class Shape implements Cloneable {
	private String id;
	protected String type;
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	
	public abstract void draw();
	
	
	public Object clone()
	{
		Object clone = null;
		
		try
		{
			clone = super.clone();
		} catch (CloneNotSupportedException ex) {
			
		}
		
		return clone;
	}
}

